<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
<div class="col-lg-8 col-lg-offset-2 " style="margin-top: 10px">
    <form class="form-horizontal" novalidate method="post">
        {% csrf_token %}
        <div class="form-group">
            <label for="{{ form_obj.username.id_for_label }}"
                   class="col-sm-2 control-label">{{ form_obj.username.label }}</label>
            <div class="col-sm-10">
                {{ form_obj.username }}
                {{ form_obj.username.errors.0 }}
            </div>
        </div>
        <div class="form-group">
            <label for="{{ form_obj.password.id_for_label }}"
                   class="col-sm-2 control-label">{{ form_obj.password.label }}</label>
            <div class="col-sm-10">
                {{ form_obj.password }}
                {{ form_obj.password.errors.0 }}
            </div>
        </div>
        <div class="form-group">
            <label for="{{ form_obj.re_password.id_for_label }}"
                   class="col-sm-2 control-label">{{ form_obj.re_password.label }}</label>
            <div class="col-sm-10">
                {{ form_obj.re_password }}
                {{ form_obj.re_password.errors.0 }}
            </div>
        </div>

        <div class="form-group">
            <label for="{{ form_obj.name.id_for_label }}"
                   class="col-sm-2 control-label">{{ form_obj.name.label }}</label>
            <div class="col-sm-10">
                {{ form_obj.name }}
                {{ form_obj.name.errors.0 }}
            </div>
        </div>


        <div class="form-group">
            <label for="{{ form_obj.mobile.id_for_label }}"
                   class="col-sm-2 control-label">{{ form_obj.mobile.label }}</label>
            <div class="col-sm-10">
                {{ form_obj.mobile }}
                {{ form_obj.mobile.errors.0 }}
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <p>
                    <button type="submit" class="btn btn-default">注册</button>
                </p>
            </div>
        </div>
    </form>
</div>
</body>
</html>